This README.txt file gives a brief explanation of all the data and R code files that are in this compressed Data/Code Files folder in the Supplementary Material. 

All_code.txt
## This file contains all the R code used for the data reading, data wrangling, and data analysis
## for the article by A. M. Petitbon and D. B. Hitchcock,
## "What Kind of Music Do You Like? A Statistical Analysis of Music Genre Popularity Over Time".
##
## The code below is separated into eight blocks, each with a specific and self-contained purpose.
##
## Block 1: Reading the Data from External Raw Data Files
## Block 2: Creating Vectors of Response Counts for the Genres
## Block 3: Creating Candidate Predictor Time Series and Doing Model Selection
## Block 4: Diagnostic Residual Plots to Check Model 
## Block 5: In-sample Plots of Observed Genre Proportions and Model-Predicted Genre Probabilities
## Block 6: Boxplots of Forecasts of 2019 Genre Proportions for Hot 100 and Pazz & Jop
## Block 7: Time Series Analysis of Cramer's V Association Measure
## Block 8: Cross-Correlation Function for Cramer's V and "Proportion Physical" Variable

annual_political_variable.txt
## Raw data for the political ideology variable used in the paper.

Billboard_annual_2017_2020_with_genres.csv
## Raw data for Billboard Hot 100 annual rankings from 2017-2020.

code_to_get_annual_predictors_time_series.txt
## Separate R code that creates the vectors which we used as predictors in the model.

gdp_growth.txt
## Raw data for the GDP variable used in the paper.

Hot100_annual_with_genre.csv
## Raw data for Billboard Hot 100 annual rankings from 1974-2016.

Hot100counts.txt
## Genre counts for the Hot 100 for each year for 1974-2018.

monthly_inflation_rate.txt
## Raw data which was used to create the annual inflation rate variable used in the paper.

monthly_unemployment_rate.txt
## Raw data which was used to create the annual unemployment rate variable used in the paper.

Pazz&Jop_Albums_data.xlsx
## Raw data for Pazz & Jop annual albums rankings from 1974-2016.

Pazz&Jop_singles_data.xlsx
## Raw data for Pazz & Jop annual singles rankings from 1974-2016.

PazzJop_2017-2020.xlsx
## Raw data for Pazz & Jop annual albums and singles rankings from 2017-2018.

PazzJopcounts.txt
## Genre counts for the Pazz & Jop for each year for 1974-2018.

phys.txt
## Raw data for the proportion physical variable used in the paper.

Sales_adj_v1.txt
## Raw data for the sales adjusted for inflation variable used in the paper.